package site.lyweb.service;

import site.lyweb.domain.dto.PageDTO;
import site.lyweb.domain.dto.StuCourseRelation;
import site.lyweb.domain.dto.TeaCourseRelation;
import site.lyweb.domain.dto.StudentCourseDTO;
import site.lyweb.domain.query.StudentCourseQuery;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 深山老林
 * @description 针对表【student】的数据库操作Service
 * @createDate 2024-06-19 20:53:32
 */
public interface StudentCourseService {

    PageDTO<StudentCourseDTO> getStudentCourseByPage(Integer current, StudentCourseQuery studentCourseQuery);

    boolean removeBatchByIds(List<String> idList);

    boolean removeById(String id);

    boolean save(String id, String studentId, String courseId, String teacherId, BigDecimal courseScore);

    StuCourseRelation getById(String id);
}
